package eom.example.elasticsearch.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName student
 */
public class Student  {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    private String stuName;

    /**
     * 
     */
    private Integer stuAge;

    /**
     * 
     */
    private String stuAddress;

    /**
     * 
     */
    private Integer stuSex;

    /**
     * 
     */
    private String stuNote;

    /**
     * 
     */
    private String stuMobile;

    private Date createDate=new Date();




    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public Integer getStuAge() {
        return stuAge;
    }

    public void setStuAge(Integer stuAge) {
        this.stuAge = stuAge;
    }

    public String getStuAddress() {
        return stuAddress;
    }

    public void setStuAddress(String stuAddress) {
        this.stuAddress = stuAddress;
    }

    public Integer getStuSex() {
        return stuSex;
    }

    public void setStuSex(Integer stuSex) {
        this.stuSex = stuSex;
    }

    public String getStuNote() {
        return stuNote;
    }

    public void setStuNote(String stuNote) {
        this.stuNote = stuNote;
    }

    public String getStuMobile() {
        return stuMobile;
    }

    public void setStuMobile(String stuMobile) {
        this.stuMobile = stuMobile;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }



    public Student(Integer id, String stuName, Integer stuAge, String stuAddress, Integer stuSex, String stuNote, String stuMobile, Date createDate) {
        this.id = id;
        this.stuName = stuName;
        this.stuAge = stuAge;
        this.stuAddress = stuAddress;
        this.stuSex = stuSex;
        this.stuNote = stuNote;
        this.stuMobile = stuMobile;
        this.createDate = createDate;
    }

    public Student() {
    }
}